package com.tma.internship.activities;

import java.io.File;

import com.tma.internship.activities.R;
import com.tma.internship.activities.R.layout;


import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Toast;

public class StartActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    	super.onCreate(savedInstanceState);
        setContentView(R.layout.welcome);
        Handler handle = new Handler(){
        	@Override
        	public void handleMessage(Message msg) {
        		// TODO Auto-generated method stub
        		super.handleMessage(msg);
        		Intent intent = new Intent(getBaseContext(), StoredFilesActivity.class);
        		startActivity(intent);
        		finish();
        	}
        };
        handle.sendEmptyMessageDelayed(0, 1000);
    }
}